Use gtk_accel_map_change_entry(), so that reusing the same action name
authorMatthias Clasen <mclasen@redhat.com>
Mon, 4 Apr 2005 04:36:04 +0000 (04:36 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 4 Apr 2005 04:36:04 +0000 (04:36 +0000)
2005-04-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
Use gtk_accel_map_change_entry(), so that reusing the same
action name works.  (#170727, Paolo Borelli)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkactiongroup.c

index 82c25cf30da3f9cdbb46aa4b8bb36e56e4a1cdbb..05e369f8dbc175b3fb7ef8a431d582dfde9b462c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
+       Use gtk_accel_map_change_entry(), so that reusing the same
+       action name works.  (#170727, Paolo Borelli)
+
 2005-04-04  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
index 82c25cf30da3f9cdbb46aa4b8bb36e56e4a1cdbb..05e369f8dbc175b3fb7ef8a431d582dfde9b462c 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
+       Use gtk_accel_map_change_entry(), so that reusing the same
+       action name works.  (#170727, Paolo Borelli)
+
 2005-04-04  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
index 82c25cf30da3f9cdbb46aa4b8bb36e56e4a1cdbb..05e369f8dbc175b3fb7ef8a431d582dfde9b462c 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
+       Use gtk_accel_map_change_entry(), so that reusing the same
+       action name works.  (#170727, Paolo Borelli)
+
 2005-04-04  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
index 41f4e25909b5fcda1a2c13e0ff75ac420fe2b4c4..198dd2afa7e7e7e9257eb11646e2db0b42aef296 100644 (file)
@@ -603,7 +603,7 @@ gtk_action_group_add_action_with_accel (GtkActionGroup *action_group,
     }
 
   if (accel_key)
-    gtk_accel_map_add_entry (accel_path, accel_key, accel_mods);
+    gtk_accel_map_change_entry (accel_path, accel_key, accel_mods, TRUE);
 
   gtk_action_set_accel_path (action, accel_path);
   gtk_action_group_add_action (action_group, action);